package com.alex.controller;

import com.alex.pojo.Employee;
import com.alex.service.EmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
public class ManageController {

    @Autowired
    private EmployeeService employeeService;

    public void execute() {
        Employee employee = employeeService.get("1001");
        System.out.println(employee);
    }
}
